home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / adv_lighting / README < prev    next >
Encoding:
Text File  |  1996-11-11  |  1.8 KB  |  54 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees,
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8.       ~opengl1/examples/adv_lighting README
  9.  
  10.             Copyright 1991-1996, Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.  
  15.     indexLighting.c - demonstrates lighting in color index mode.
  16.   
  17.         <l> key                 - toggle LIGHT0 on / off
  18.         Escape key              - e
  19.  
  20.     lightPosition.c - demonstrate how to set up a light that 
  21.         moves with the eye, or stays fixed in the scene.
  22.                
  23.     Left Mousebutton        - move eye position
  24.     Middle Mousebutton      - change twist angle
  25.     Right Mousebutton       - move up / down to zoom in / out
  26.     <l> Key                - toggle light binding
  27.     Escape key              - exit the program
  28.     
  29.     movingLight.c - Set up a light that moves independently from the 
  30.         objects in the scene.
  31.                        
  32.     Left Mousebutton        - move eye position
  33.     Middle Mousebutton      - change twist angle
  34.     Right Mousebutton       - move up / down to zoom in / out
  35.     <a> key            - toggle light animation
  36.     Escape key        - exit the program
  37.  
  38.  
  39.     spotLight.c - spotlight shining on a stack of flat grids
  40.             
  41.     Left Mousebutton        - move eye position
  42.     <d> key                 - toggle depth buffering
  43.     <s> key                 - toggle flat/smooth grid
  44.     <R> Key                - reset viewpoint
  45.     Escape key              - exit the program
  46.  
  47.  
  48.     twoSide.c - demonstrate two-sided lighting, back material properties, 
  49.         and the ambient light model.
  50.  
  51.     <l> Key                - toggle LIGHT0 on/off
  52.     Escape key        - exit the program
  53.  
  54.